github.com/google/go-cmp/cmp.diffStats.NumIdentical (field)
21 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L296: numEqual := ds.NumIgnored + ds.NumIdentical
report_compare.go#L320: ds.NumIdentical -= numLo + numHi
report_compare.go#L423: lastStats(1).NumIdentical++
report_slices.go#L402: numEqual := ds.NumIgnored + ds.NumIdentical
report_slices.go#L416: ds.NumIdentical -= numLo + numHi
report_slices.go#L427: nx := appendChunks(vx.Slice(0, ds.NumIdentical+ds.NumRemoved+ds.NumModified), diffRemoved)
report_slices.go#L429: ny := appendChunks(vy.Slice(0, ds.NumIdentical+ds.NumInserted+ds.NumModified), diffInserted)
report_slices.go#L465: lastStats('=').NumIdentical++
report_slices.go#L518: if ((hadX || hasX) && (hadY || hasY)) && curr.NumIdentical <= windowSize {
report_slices.go#L558: ix += ds.NumIdentical
report_slices.go#L559: iy += ds.NumIdentical
report_slices.go#L564: nx := ds.NumIdentical + ds.NumRemoved + ds.NumModified
report_slices.go#L565: ny := ds.NumIdentical + ds.NumInserted + ds.NumModified
report_slices.go#L578: groups[i-1].NumIdentical += numLeadingIdentical
report_slices.go#L583: groups = append([]diffStats{{Name: groups[0].Name, NumIdentical: numLeadingIdentical}}, groups...)
report_slices.go#L594: groups[i+1].NumIdentical += numTrailingIdentical
report_slices.go#L599: groups = append(groups, diffStats{Name: groups[len(groups)-1].Name, NumIdentical: numTrailingIdentical})
report_text.go#L368: NumIdentical int
report_text.go#L386: s.NumIdentical += ds.NumIdentical
report_text.go#L402: counts := [...]int{s.NumIgnored, s.NumIdentical, s.NumRemoved, s.NumInserted, s.NumModified}